package com.trade.wzj.model.xiang;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.Pattern;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class CompanyPurchaseDetails implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 9093217727169300238L;
	
	private Integer id;//id
	private Integer companyPurchaseInfoID;//公司采购单信息表id
	
	
	private Date orderDate;//订单日期
	private Integer DetailsupplierId;
	public Integer getDetailsupplierId() {
		return DetailsupplierId;
	}
	public void setDetailsupplierId(Integer detailsupplierId) {
		DetailsupplierId = detailsupplierId;
	}
	private Integer productId;
	/**
	 * 产品id
	 * @return
	 */
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	private Double rental;//总金额
	private Integer stateID;//状态
	private Integer productNum;//数量
	private String unit;//单位
	
	private Date deliveryDate;//交货期
	private int delState;//0未删除 1删除
	private State state;
	/**
	 * 状态对象表
	 * @return
	 */
	public State getState() {
		return state;
	}
	public void setState(State state) {
		this.state = state;
	}
	private ProductInfoQuota productInfoQuota;
	public ProductInfoQuota getProductInfoQuota() {
		return productInfoQuota;
	}
	public void setProductInfoQuota(ProductInfoQuota productInfoQuota) {
		this.productInfoQuota = productInfoQuota;
	}
	private SupplierInfo supplierInfo;
	/**
	 * 供应商对象
	 * @return
	 */
	public SupplierInfo getSupplierInfo() {
		return supplierInfo;
	}
	public void setSupplierInfo(SupplierInfo supplierInfo) {
		this.supplierInfo = supplierInfo;
	}
	private Integer clientOrderId;
	/**
	 * 客户订单编号
	 * @return
	 */
	public Integer getClientOrderId() {
		return clientOrderId;
	}
	public void setClientOrderId(Integer clientOrderId) {
		this.clientOrderId = clientOrderId;
	}
	public int getDelState() {
		return delState;
	}
	public void setDelState(int delState) {
		this.delState = delState;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCompanyPurchaseInfoID() {
		return companyPurchaseInfoID;
	}
	public void setCompanyPurchaseInfoID(Integer companyPurchaseInfoID) {
		this.companyPurchaseInfoID = companyPurchaseInfoID;
	}
	public Date getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}
	public Double getRental() {
		return rental;
	}
	public void setRental(Double rental) {
		this.rental = rental;
	}
	public Integer getStateID() {
		return stateID;
	}
	public void setStateID(Integer stateID) {
		this.stateID = stateID;
	}
	public Integer getProductNum() {
		return productNum;
	}
	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public Date getDeliveryDate() {
		return deliveryDate;
	}
	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
}
